import { PropType } from "vue";
import { PopoverInstance } from "@arco-design/web-vue";

type HighLightPropsType = "phone" | "";
export declare interface ITagPopoverHighlightOption {
  keyword?: string[];
  color?: string;
  ellipsis?: boolean;
  type?: HighLightPropsType;
  content?: string;
}
export const tagPopoverProps = {
  data: {
    type: Array as PropType<string[]>,
  },
  highlightOptions: {
    type: Object as PropType<ITagPopoverHighlightOption>,
    default: () => ({}),
  },
  popover: {
    type: Object as PropType<PopoverInstance>,
    default: () => ({}),
  },
};
